home *** CD-ROM | disk | FTP | other *** search
- package
- {
- import flash.display.Sprite;
- import mx.binding.FunctionReturnWatcher;
- import mx.binding.IWatcherSetupUtil;
- import mx.binding.PropertyWatcher;
- import mx.core.IFlexModuleFactory;
-
- public class _SecurityInfoWatcherSetupUtil extends Sprite implements IWatcherSetupUtil
- {
- public function _SecurityInfoWatcherSetupUtil()
- {
- super();
- }
-
- public static function init(param1:IFlexModuleFactory) : void
- {
- SecurityInfo.watcherSetupUtil = new _SecurityInfoWatcherSetupUtil();
- }
-
- public function setup(param1:Object, param2:Function, param3:Array, param4:Array) : void
- {
- var target:Object = param1;
- var propertyGetter:Function = param2;
- var bindings:Array = param3;
- var watchers:Array = param4;
- watchers[4] = new PropertyWatcher("greenCircleIcon",{"propertyChange":true},[bindings[2]],propertyGetter);
- watchers[2] = new PropertyWatcher("moreOptionsButton",{"propertyChange":true},[bindings[1]],propertyGetter);
- watchers[5] = new PropertyWatcher("redCircleIcon",{"propertyChange":true},[bindings[2],bindings[6]],propertyGetter);
- watchers[0] = new FunctionReturnWatcher("getInstance",target,function():Array
- {
- return [];
- },null,[bindings[0]],null);
- watchers[3] = new PropertyWatcher("identityVerified",{"propertyChange":true},[bindings[2],bindings[4],bindings[3],bindings[5]],propertyGetter);
- watchers[4].updateParent(target);
- watchers[2].updateParent(target);
- watchers[5].updateParent(target);
- watchers[0].updateParent(LocalizationManager);
- watchers[3].updateParent(target);
- }
- }
- }
-
-